package com.schedule.task.dao;

import com.schedule.task.entity.BookShopOrder;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface BookShopOrderMapper extends Mapper<BookShopOrder> {

    /**查找全部等于status=3的订单**/
    public List<BookShopOrder> selectByStatus (Integer status);

    /** 将订单变为已收货**/
    public void updateStatus(Integer id);

    /** **/
}